<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格与表单标签的应用</title>

    <style>
        table,tr,td{
            text-align: center;
            margin-left: auto;
            margin-right: auto;
            border: 1px solid black;
            border-collapse: collapse;
            width: 200px;
            height: 50px;
        }
        form{
            text-align: center;
        }
    </style>
</head>
<body>
    <div>
        <table>
            <tr>
                <td>姓名</td>
                <td>年龄</td>
                <td>职业</td>
            </tr>
            <tr>
                <td>张三</td>
                <td>22</td>
                <td>工程师</td>
            </tr>
            <tr>
                <td>李四</td>
                <td>23</td>
                <td>软件设计师</td>
            </tr>
        </table>
    </div>
    <br>
    <div>
        <form action="#" method="get">
            <label for="zhanghao">账号:</label>
            <input type="text" name="账号" id="zhanghao"><br>
            <label for="mima">密码: </label>
            <input type="password" name="密码" id="mima"><br>
            <label for="shijian">时间</label>
            <input type="date" id="shijian"><br>
            <label for="shengfeng">省份</label>
            <select name="省份" id="shengfeng">
                <option value="1">江西</option>
                <option value="2">福建</option>
                <option value="3">四川</option>
            </select>
            <input type="submit" value="提交">
        </form>
    </div>
</body>
</html>